package cn.wit.baoyan.controller;


import cn.wit.baoyan.condition.BaoyanHistoryInfoCondition;
import cn.wit.baoyan.service.BaoyanHistoryInfoService;
import cn.wit.utils.response.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/baoyan")
@CrossOrigin
@Api(tags = "保研浏览记录")
public class BaoyanHistoryInfoController {
    private Logger logger = LoggerFactory.getLogger(BaoyanHistoryInfoController.class);
    @Autowired
    private BaoyanHistoryInfoService baoyanHistoryInfoService;



    @GetMapping("/getBaoyanHistoryInfo")
    @ApiOperation("保研信息历史记录分析查询")
    public Result getBaoyanHistoryInfo() {
        return this.baoyanHistoryInfoService.getBaoyanHistoryInfo();
    }
}
